<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>未生成订单</title>
<link rel="stylesheet" href="/wx_pay/atm/lib/buttons/style.css">
<meta charset="UTF-8">
<!--<meta name="viewport" content="width=device-width">-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- 新 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">

<!-- 可选的Bootstrap主题文件（一般不用引入） -->
<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap-theme.min.css">

<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
  $(".click").click(function(){
  $(".tip").fadeIn(200);
  });
  
  $(".tiptop a").click(function(){
  $(".tip").fadeOut(200);
});

  $(".sure").click(function(){
  $(".tip").fadeOut(100);
});

  $(".cancel").click(function(){
  $(".tip").fadeOut(100);
});

});
</script>


</head>


<body>
    
    <div class="rightinfo">
        
        <center>
            <div style="font-size: 30px;">未生成的订单</div>
        </center>
        <div style="float:left;font-size: 30px;">已付款单：</div>
        <div style="float:right;font-size: 30px;">已生成订单：</div>
    
    <table class="tablelist">
    	<thead>
    	<tr>
        <th>支付id</th>
        <th>支付金额(单位：分)</th>
        <th>商品id</th>
        <th>openid</th>
        <th>支付金额</th>
        <th>操作</th>
        </tr>
        </thead>
        <tbody>
        {foreach from=$data item=vo}
        <tr>
        <td>{$vo.id}</td>
        <td>{$vo.total_fee}</td>
        <td>{$vo.attach}</td>
        <td>{$vo.openid}</td>
        <td>{$vo.receivedate|date='Y-m-d H:i:s',###}</td>
        <td><a href="generate_orders.php?id={$vo.id}"><button type="button" class="btn-sm btn-primary">生 成 订 单</button></a>&nbsp;&nbsp;</td>
        </tr> 
            {/foreach}
        </tbody>
    </table>
    
    
    <div class="tip">
    	<div class="tiptop"><span>提示信息</span><a></a></div>
        
      <div class="tipinfo">
        <div class="tipright"
        <p>是否确认对信息的修改 ？</p>
        <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
        </div>
        </div>
        
        <div class="tipbtn">
        <input name="" type="button"  class="sure" value="确定" />&nbsp;
        <input name="" type="button"  class="cancel" value="取消" />
        </div>
    
    </div>
    
    
    
    
    </div>
    
    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>

</body>

</html>
